/*
 * @(#)ObjectFactory.java $version 2012-3-2
 * 
 * Copyright 2011 RogueDevelopment Gruop. All rights Reserved.
 * ROGUEDEVELOPMENT PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.nadostar.extensions.util;

/**
 * @author LEESUNG
 *
 */
public interface ObjectFactory {
	
	/**
	 * Gets the object.
	 * 
	 * @param objectname the objectname
	 * @param <T> T
	 * @return the object
	 */
	<T> T getObject(String objectname);

	/**
	 * Gets the object.
	 * 
	 * @param objectname the objectname
	 * @param arguments the arguments
	 * @param <T> T
	 * @return the object
	 */
	<T> T getObject(String objectname, Object... arguments);
}
